<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- 导入依赖文件 -->
    <script src="../libs/jquery-1.12.4.min.js"></script>
    <script src="../libs/bootstrap/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="../libs/bootstrap/css/bootstrap.min.css">
    <!-- 导入分页导航文件 -->
    <script src="../libs/jquery.twbsPagination.js"></script>
</head>
<body>
    <ul id="pagination" class="pagination"></ul>
</body>
</html>
<script>
    $(function () {
        $('#pagination').twbsPagination({
            totalPages:88,
            startPage:1,
            visiblePages:10,
            initiateStartPageClick:false,
            first:"首页",
            prev:"上一页",
            next:"下一页",
            last:"尾页",
        onPageClick: function (event, page) {
            $('#page-content').text('Page ' + page);
        }
    });
    })
</script>